package com.jt.demo;

import org.springframework.stereotype.Component;

import javax.sound.midi.Soundbank;

@Component
public class User {
    public User(){
        System.out.println("调用无参构造");
    }

    public void say(){
        System.out.println("测试对象是单例还是多例");
    }
}
